#include <iostream>
#include <iomanip>
using namespace std;
main()
{
	int a[3][4]={{1,3,5,7},{9,11,13,15},{17,19,21,23}};
	int i,j,m,k;
	for(m=0;m<3;m++)
		for(k=0;k<4;k++)
		{
			cout<<setw(4)<<a[m][k]<<" ";
			if(k==3) cout<<endl;
		}
		cout<<"Input 0<=row<3 and 0<=column<4"<<endl;
		cin>>i>>j;
		cout<<"The element a[i][j] is:"<<*(*(a+i)+j)<<endl;
		return 0;
}



	